package com.ifdom.reflection;

/**
 * @Author ifredomvip@gmail.com
 * @Date 2022/9/16 15:13
 * @Version 1.0.0
 * @Description
 **/
@DemoAnnotation(key = "author", value = "ifredom")
public class Song {
    private String title;
    private String author;

    public Song() {
    }

    public Song(String title) {
        this.title = title;
    }

    public Song(String title, String author) {
        this.title = title;
        this.author = author;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public static void test() {
        System.out.println("test");
    }

    @Override
    public String toString() {
        return "Song{" +
                "title='" + title + '\'' +
                ", author='" + author + '\'' +
                '}';
    }
}
